package org.jeecg.modules.rental.enums;

import org.jeecg.common.annotation.EnumDict;
import org.jeecg.common.enums.ResultCodeEnums;

/**
 * @Description: 电单车租赁验证枚举类
 * @author sean
 * @date 2019/12/3
 */
@EnumDict(code ="deposit_status_dict", name = "账户套餐押金状态枚举")
public enum EBikeRentalVerifyEnums implements ResultCodeEnums {

    //未找到对应车辆
    VEHICLE_NOT_FOUND(1001, "vehicleresultcodeenums.vehicle.not.found"),
    //该车辆没有设置车辆类型
    VEHICLE_NOT_TYPE(1001, "vehicleresultcodeenums.vehicle.not.type"),
    //该车辆没有设置车辆网点
    VEHICLE_NOT_STORE(1001, "vehicleresultcodeenums.vehicle.not.store"),
    //该车辆已被他人使用
    VEHICLE_HAS_USED(1002, "vehicleresultcodeenums.vehicle.has.used"),
    //车辆已经在名下
    VEHICLE_BELONGS_TO_YOU(1003, "vehicleresultcodeenums.vehicle.belongs.to.you"),
    //不允许同时租多辆车
    NOT_ALLOWED_RENTAL_MULTIPLE_VEHICLE(1004, "vehicleresultcodeenums.not.allowed.rental.multiple.vehicle"),
    //套餐结束前4小时不允许续租
    NOT_RENEWAL_ALLOWED(1005, "vehicleresultcodeenums.not.renewal.allowed"),
    //套餐已过期或尚未生效，请检查套餐有效期
    PACKAGE_TIMEOUT_AND_NOT_EFFECTIVE(1006, "vehicleresultcodeenums.package.timeout.and.not.effective"),
    //套餐已过期，请检查套餐有效期
    PACKAGE_TIMEOUT(1007,"vehicleresultcodeenums.package.timeout"),
    //套餐未生效，请检查套餐有效期
    PACKAGE_NOT_EFFECTIVE(1008,"vehicleresultcodeenums.package.not.effective"),
    //优惠券已使用
    COUPON_ALREADY_USED(1009,"vehicleresultcodeenums.coupon.already.used");
    private Integer code;

    private String message;

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    EBikeRentalVerifyEnums(Integer code, String message) {
        this.code = code;
        this.message = message;
    }
}
